home *** CD-ROM | disk | FTP | other *** search
/ Merciful 5 / Merciful - Disc 5.iso / software / h / hypertextdatav40.12cr.lha / HTDS / Docs / man.hguide < prev    next >
Encoding:
Amiga HyperGuide  |  1997-03-21  |  4.4 KB  |  112 lines

  1. @hyperguide man.hguide
  2. @$VER: man.hguide 40.6 (07.03.97)
  3. @macro m_prg "@{b}Man DataType@{ub}"
  4. @macro m_tmplt "<@{i}$1@{ui}>"
  5. @include htds.hgm
  6.  
  7. @node main "Man DataType Documentation"
  8. @toc HTDS.hguide/main
  9. @prev productinfo.hguide/main
  10. @next
  11.  
  12. @{jcenter}@{m_title}@{m_copyright}@{m_welcome}@{jleft}
  13.  
  14. @{settabs 30}
  15. @{m_sec Menu}
  16. @{m_menuitem}@{" Configuration " link Configuration                }@{m_menuinfo "Adapt to your needs"}
  17. @{m_menuitem}@{" Searching pages " link LocatingPages              }@{m_menuinfo "How man pages are located"}
  18. @{m_menuitem}@{" Format Notes "  link Notes                        }@{m_menuinfo "Whats NRoff ?"}
  19. @{m_menuitem}@{" Attributes "    link hypertext.hguide/CommonAttrs }@{m_menuinfo "Using HyperGuide attributes"}
  20. @{m_menuitem}@{" Base Datatype " link hypertext.hguide/main        }@{m_menuinfo "The HyperText Datatype"}
  21. @{line}
  22. @{m_menuitem}@{" Copyright "     link HTDS.hguide/Copyright        }@{m_menuinfo "legal stuff"}
  23. @{m_menuitem}@{" Author "        link SR.hguide/Addresses          }@{m_menuinfo "how to contact me"}
  24. @{m_menuitem}@{" Registration "  link HTDS.hguide/Registration     }@{m_menuinfo "It's Shareware !!!"}
  25. @{m_endsec}
  26.  
  27. @endnode
  28. @node Configuration "Man DataType/Configuration"
  29.  
  30. @{m_sec "Configuration"}
  31. As the recommended standard for datatypes, the preference file for the
  32. man.datatype is called @{m_file man.prefs} and is searched first in
  33. the @{m_file PROGDIR:Prefs/DataTypes} and then in @{m_file Env:DataTypes} directory.
  34. The following options are currently available using ReadArgs() argument parsing :
  35.  
  36. @{itemize}
  37. @{item}PATH/K,BOLD/K,UNDERLINED/K,SECTIONNAME/K
  38. @{definition}
  39. @{defterm}PATH
  40. @{defdata}specifies the root directory of the man page system (e.g. gnu:man or man:)
  41. Default is @{m_file "ADE:man"}
  42.  
  43. @{defterm}BOLD
  44. @{defdata}specifies the @{"HyperGuide style" link hypertext.hguide/CommonAttrs}
  45. string to use for bold man page words. Default is "\@{b}"
  46.  
  47. @{defterm}UNDERLINED
  48. @{defdata}specifies the @{"HyperGuide style" link hypertext.hguide/CommonAttrs}
  49. string to use for underlined man page words. Default is "\@{u}"
  50.  
  51. @{defterm}SECTIONNAME
  52. @{defdata}specifies the @{"HyperGuide style" link hypertext.hguide/CommonAttrs}
  53. string to use for section names. Default is "\@{i}"
  54. @{enddefinition}
  55. @{enditemize}
  56. @{m_endsec}
  57. @endnode
  58. @node LocatingPages "Man DataType/Locating man pages"
  59.  
  60. @{m_sec "Locating man pages"}
  61. The man.datatype searches a linked man page dynamically. This means, if you
  62. trigger a link, it tries to find the man page in the following directories
  63. and order :
  64.  
  65. @{enumerate}
  66. @{item}@{m_tmplt manpath}cat@{m_tmplt sectionnr}/@{m_tmplt manpage}.0
  67. @{item}@{m_tmplt manpath}cat@{m_tmplt sectionnr}/@{m_tmplt manpage}.1
  68. @{item}@{m_tmplt manpath}cat@{m_tmplt sectionnr}/@{m_tmplt manpage}.@{m_tmplt sectionnr}
  69. @{item}@{m_tmplt manpath}cat@{m_tmplt sectionnr}/@{m_tmplt manpage}.0.gz
  70. @{item}@{m_tmplt manpath}cat@{m_tmplt sectionnr}/@{m_tmplt manpage}.1.gz
  71. @{item}@{m_tmplt manpath}cat@{m_tmplt sectionnr}/@{m_tmplt manpage}.@{m_tmplt sectionnr}.gz
  72. @{item}@{m_tmplt manpath}man@{m_tmplt sectionnr}/@{m_tmplt manpage}.0
  73. @{item}@{m_tmplt manpath}man@{m_tmplt sectionnr}/@{m_tmplt manpage}.1
  74. @{item}@{m_tmplt manpath}man@{m_tmplt sectionnr}/@{m_tmplt manpage}.@{m_tmplt sectionnr}
  75. @{item}@{m_tmplt manpath}man@{m_tmplt sectionnr}/@{m_tmplt manpage}.0.gz
  76. @{item}@{m_tmplt manpath}man@{m_tmplt sectionnr}/@{m_tmplt manpage}.1.gz
  77. @{item}@{m_tmplt manpath}man@{m_tmplt sectionnr}/@{m_tmplt manpage}.@{m_tmplt sectionnr}.gz
  78. @{endenumerate}
  79.  
  80. @{definition}
  81. where is :
  82. @{defterm}@{m_tmplt manpath}
  83. @{defdata}the the root man page directory (See @{"Configuration" link Configuration})
  84.  
  85. @{defterm}@{m_tmplt sectionnr}
  86. @{defdata}the number in the parenthesis of the link
  87.  
  88. @{defterm}@{m_tmplt manpage}
  89. @{defdata}the name of the link.
  90. @{enddefinition}
  91. @{m_endsec}
  92.  
  93. @{m_sec "See Also"}
  94. @{" Configuration " link Configuration}, @{" Format Notes " link Notes}
  95. @{m_endsec}
  96. @endnode
  97. @node Notes "Man DataType/Format Notes"
  98.  
  99. @{m_sec "Format Notes"}
  100. This datatype can only operate on Unix manual pages in ASCII format. The
  101. source of each manual page is written in a typesetting format called NRoff.
  102. Such files have to be compiled into resulting ASCII files. This can be done
  103. with the @{m_file groff} command.
  104.  
  105.  
  106. For the datatypes system you can use my new V39.4 cli.datatype to
  107. transparently process NRoff files. You need also this datatype to use
  108. gzipped man pages transparently like in the new ADE environment.
  109. @{m_endsec}
  110. @endnode
  111.  
  112.